﻿html {
    -webkit-text-size-adjust: none;
    overflow-y: -moz-scrollbars-vertical;
    overflow-y: scroll;
    height: 100%;
}

body {
    height: 100%;
    margin: 0;
    padding: 0;
    min-width: 667px;
}
/** Responsive**/

@media screen and (max-width: 1080px) {
    /* code here for Ipad */
}
/* Iphone */
@media screen and (max-width: 479px) {
    /* code here for Iphone */
}

form {
    height: 100%;
    margin: 0;
    padding: 0;
}

:focus {
    outline: none;
}

div#wrapper {
    position: relative;
    margin: 0 auto;
    width: 1024px;
    background-color: #fff; /*#f0f0f0; */
    height: auto !important;
    text-align: center;
}

div#header {
    height: 50px;
    background-color: #e4effa;
    position: fixed;
    z-index: 99999;
    width: 100%;
    min-width: 320px;
}

    div#header input[type="submit"] {
        margin-top: 10px;
        margin-right: 10px;
        background: none;
        border: none;
        cursor: pointer;
    }

#footer {
    /* Footer */
    position: fixed;
    left: 0px;
    bottom: 0px;
    height: 20px;
    width: 100%;
    background: #E4EFFA;
    text-align: center;
    padding: 5px;
    font-size: 12px;
    z-index: 99999999999;
}

html {
    background-color: #fff;
    margin: 0;
    padding: 0;
}

body {
    background-color: #fff;
    /*border-top: solid 10px #000;*/
    color: #333;
    font-size: .85em;
    /*font-family:Verdana, Helvetica, Sans-Serif;*/
    margin: 0;
    padding: 0;
}
/* */
thead {
    background-color: #006796;
    color: #fff;
}

a {
    font-family: Verdana, Geneva, sans-serif;
    color: #c1151b;
    text-decoration: none;
}

.centerText {
    text-align: center;
}

.centerObject {
    margin: 0 auto;
}

.msgError {
    color: Red;
    /*font-size:10px;*/
    /*font-style:italic;*/
    font-size: 12px;
    /*padding-bottom:10px; padding-top:10px*/
}

.msgErrorSmall {
    color: Red;
    font-size: .75em;
    font-style: italic;
}

.hide {
    display: none;
}

img {
    border-style: none;
    border-color: inherit;
    border-width: 0;
    /*width: 14px;*/
}
/* menu */
ul#menu {
    font-size: 1em;
    font-weight: 600;
    margin: 20px 5px 5px 0;
    padding: 0 25px;
    text-transform: uppercase;
    width: 200px;
    float: left;
    /*text-align:right;*/
}

    ul#menu li {
        display: inline;
        list-style: none;
        padding-left: 15px;
    }

        ul#menu li a {
            background: none;
            color: #06C;
            text-decoration: none;
        }

            ul#menu li a:hover {
                color: #090;
                text-decoration: none;
            }
/* menu */
/* table */
table {
    border-collapse: collapse;
    border-spacing: 0;
    padding: 0;
}

    table.tblTable {
        border-spacing: 0;
    }

    table.tblGrid {
        border: solid 1px #e8eef4;
        border-collapse: collapse; /*border-spacing:0;*/
    }

td.tdGrid {
    font-size: .9em;
    padding: 5px;
    border: solid 1px #ccc;
    word-break: break-all;
    word-wrap: break-word;
}

th.thGrid {
    padding: 6px 5px;
    text-align: center;
    background-color: #b7b7b7;
    border: solid 1px #ccc;
    font-size: 1em;
    font-weight: bold;
}

a.GridHeader:link {
    color: #333333;
    text-decoration: underline;
    font-size: 0.9em;
    font-weight: bold;
}

a.GridHeader:visited {
    color: #c1151b;
    font-size: 0.9em;
    font-weight: bold;
}

a.GridHeader:hover {
    color: #c1151b;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: bold;
}

a.GridHeader:active {
    color: #c1151b;
    font-size: 0.9em;
    font-weight: bold;
}

table.tblGridDetails {
    border: solid 1px #C8C8FE;
    border-collapse: collapse;
}

td.tdGridDetails {
    padding: 5px;
    border: solid 1px #C8C8FE;
    font-size: 90%;
}

th.thGridDetails {
    padding: 6px 5px;
    text-align: center;
    background-color: #C8C8FE;
    border: solid 1px #C8C8FE;
    font-size: 90%;
    font-weight: bold;
}

.tdRightM {
    text-align: right;
    vertical-align: middle;
}

.tdRightT {
    text-align: right;
    vertical-align: top;
}

.tdRightB {
    text-align: right;
    vertical-align: bottom;
}

.tdLeftM {
    text-align: left;
    vertical-align: middle;
}

    .tdLeftM input[type="text"] {
        border: 1px solid #7f7f7f;
        padding: 3px;
        margin-bottom: 4px;
    }

    .tdLeftM input[type="password"] {
        border: 1px solid #7f7f7f;
        padding: 3px;
    }

    .tdLeftM input[type="submit"] {
        border: none;
        padding: 3px;
        background: #7a7a7a;
        margin-top: 5px;
        color: #fff;
        cursor: pointer;
    }

    .tdLeftM button[type="button"] {
        border: none;
        padding: 3px;
        background: #7a7a7a;
        margin-top: 5px;
        color: #fff;
        cursor: pointer;
    }

    .tdLeftM textarea {
        border: 1px solid #7f7f7f;
        padding: 3px;
    }

    .tdLeftM select {
        border: 1px solid #7f7f7f;
        padding: 2px;
    }

input[type="submit"] {
    border: none;
    padding: 3px;
    background: #DBDEE1;
    margin-top: 5px;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    border-radius: 7px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5), 0px 5px 10px rgba(255, 255, 255, 0.25) inset, 0px -7.5px 15px rgba(0, 0, 0, 0.3) inset;
}

input[type="button"] {
    border: none;
    padding: 3px;
    background: #DBDEE1;
    margin-top: 5px;
    color: #000;
    cursor: pointer;
    font-weight: bold;
    border-radius: 7px;
    box-shadow: 0px 0px 0px rgba(0, 0, 0, 0.5), 0px 5px 10px rgba(255, 255, 255, 0.25) inset, 0px -7.5px 15px rgba(0, 0, 0, 0.3) inset;
}

button[type="button"] {
    border: none;
    padding: 3px;
    background: #7a7a7a;
    margin-top: 5px;
    color: #fff;
    cursor: pointer;
}

#btnBack {
    border: none;
    padding: 10px 10px 10px 20px;
    margin-top: 5px;
    color: #fff;
    cursor: pointer;
    margin-left: 8px;
    background: #b7b7b7 url(../images/icoPrev.png) no-repeat 5px 13px;
}

    #btnBack:hover {
        border: none;
        padding: 10px 10px 10px 20px;
        margin-top: 5px;
        color: #fff;
        cursor: pointer;
        margin-left: 8px;
        background: #7a7a7a url(../images/icoPrev.png) no-repeat 5px 13px;
    }

.tdLeftT {
    text-align: left;
    vertical-align: top;
}

.tdLeftB {
    text-align: left;
    vertical-align: bottom;
}

.tdCenterM {
    text-align: center;
    vertical-align: middle;
}

    .tdCenterM input[type="text"] {
        border: 1px solid #7f7f7f;
        padding: 3px;
    }

    .tdCenterM select {
        border: 1px solid #7f7f7f;
        padding: 2px;
    }

    .tdCenterM input[type="submit"] {
        border: none;
        padding: 3px;
        background: #7a7a7a;
        margin-top: 5px;
        color: #fff;
        cursor: pointer;
    }

    .tdCenterM button[type="button"] {
        border: none;
        padding: 3px;
        background: #7a7a7a;
        margin-top: 5px;
        color: #fff;
        cursor: pointer;
    }

.tdCenterT {
    text-align: center;
    vertical-align: top;
}

.tdCenterB {
    text-align: center;
    vertical-align: bottom;
}

.wordWrap {
    word-break: break-all;
    word-wrap: break-word;
}

.sortAsc {
    padding-right: 15px;
    background: url("../images/ico_up.png") no-repeat right 8px;
}

.sortDesc {
    padding-right: 15px;
    background: url("../images/ico_down.png") no-repeat right 8px;
}
/* HEADINGS
----------------------------------------------------------*/
h1, h2, h3, h4, h5, h6 {
    font-size: 1.5em;
    color: #000;
}

h1 {
    font-size: 2em;
    padding-bottom: 0;
    margin-bottom: 0;
    padding-left: 10px;
    font-weight: 500;
}

h2 {
    padding: 0 0 10px 0;
}

h3 {
    font-size: 1.2em;
}

h4 {
    font-size: 1.1em;
}

h5, h6 {
    font-size: 1em;
}
/* click menu */
#root-menu-div ul {
    border: 1px solid #000;
}

#root-menu-div li {
    white-space: nowrap;
}

* html #root-menu-div li {
    height: 1.5em; /* fixing ie6 problem */
}

ul.menu,
#root-menu-div ul {
    background-color: #fff;
    list-style: none;
    margin: 0;
    padding: 0;
}

li.menu-separator.active {
    background-color: transparent;
}

li.active {
    background-color: #888;
}

.activetarget {
    background-color: white;
}

* html div.menu-item {
    display: inline; /* fixes problem in ie6 */
}

li.menumain {
    float: left;
    padding: 0 10px;
}

div.menu-item {
    padding: 1px 10px 1px 4px;
}

img.menu-item-arrow {
    position: absolute;
    right: 4px;
    top: 8px;
}

li.menu-separator {
    border-bottom: 1px solid #000;
    font-size: 0; /* for ie */
    height: 0;
    line-height: 0; /* for ie */
    margin: 2px 0;
}
/* click menu */
/*  */
.listProductImage {
    width: 820px;
    position: relative;
}

    .listProductImage ul {
        margin: 0;
        padding: 0;
    }

        .listProductImage ul li {
            margin: 5px 5px;
            padding: 0;
            display: inline-block;
            width: 196px;
            height: 125px;
            text-align: center;
        }

            .listProductImage ul li img {
                padding: 2px;
                border: solid 1px #EFEFEF;
                max-width: 100%;
                max-height: 100%;
            }
                /*.listProductImage ul li.imgSelected{margin:5px 5px;padding:0;display:inline-block;width:196px;border:2px solid black;}*/
                .listProductImage ul li img.selected {
                    border: solid 1px #933915;
                    -moz-box-shadow: 1px 1px 5px #999;
                    -webkit-box-shadow: 1px 1px 2px #999;
                    box-shadow: 1px 1px 5px #999;
                }

                .listProductImage ul li img.selectAvatar {
                    border: solid 1px #000;
                    -moz-box-shadow: 1px 1px 5px #999;
                    -webkit-box-shadow: 1px 1px 5px #999;
                    box-shadow: 1px 1px 5px #999;
                }

.avatar {
    margin: 0 auto;
    width: 100px;
    height: 63px;
}

    .avatar img {
        max-width: 100%;
        max-height: 100%;
    }

ul#tab {
    padding: 0;
}

    ul#tab li {
        display: inline-block;
        list-style: none;
    }

        ul#tab li a {
            display: inline-block;
            padding: 10px;
            background: #7a7a7a;
            color: #fff;
            border-top-left-radius: 6px;
            border-top-right-radius: 6px;
        }

            ul#tab li a:hover {
                display: inline-block;
                padding: 10px;
                background: #c1151b;
                color: #fff;
            }

            ul#tab li a.selected {
                display: inline-block;
                padding: 10px;
                background: #c1151b;
                color: #fff;
            }

.updateSuccess {
    margin-left: 40px;
    color: Blue;
}

.logout {
    font-family: Verdana, Geneva, sans-serif;
    font-size: 11px;
    color: #06C;
    margin: 10px 10px;
    vertical-align: middle;
    font-weight: bold;
}

/**KPI user content*/

#left_content {
    float: left;
    width: 210px;
    position: absolute;
    margin-top: 50px;
    text-align: left;
}

#right_content {
    float: left;
    margin-left: 395px;
    margin-top: 55px;
}

#no_left_right_content {
    width: 99.9%;
    position: absolute;
}

#user_statistic {
    float: left;
    width: 49.5%;
    background-color: #DBDEE1;
    height: 200px;
}

#sale_statistic {
    float: right;
    height: 200px;
    width: 49.5%;
    background-color: #DBDEE1;
    margin-bottom: 40px;
}

#finerecord_manager {
    width: 99.9%;
    position: absolute;
}

#finerecord {
    float: left;
    width: 49.5%;
    background-color: #DADADA;
    height: 200px;
}

#manager {
    float: right;
    height: 200px;
    width: 49.5%;
    background-color: #DADADA;
}

#user_image {
    margin-left: 40px;
    margin-top: 10px;
}

#user_name {
    color: #F00;
    text-align: center;
    width: 100%;
}

#user_info {
    color: #F00;
    text-align: center;
    width: 100%;
}

#line_chart {
    width: 500px;
    height: 270px;
    text-align: center;
    margin-left: 70px;
    margin-top:-40px;
}

#column_chart {
    width: 625px;
    height: 270px;
    margin-top:-40px;
}

#power {
    width: 140px;
    text-align: center;
    margin-left: 205px;
    margin-top: -105px;
}

#schedule {
    width: 385px;
    text-align: center;
    text-align: center;
    margin-top: 70px;
}

#description_schedule {
    width: 100%;
    height: 171px;
    background-color: #E4EFFA;
}

#coin_icon {
    height: 200px;
    position: absolute;
    margin-top: 676px;
    width: 1024px;
}

    #coin_icon h3 {
        background-color: #ebeff1;
        width: 100%;
        height: 30px;
        padding-top: 10px;
    }

    #coin_icon td {
        padding-bottom: 10px;
    }


#left_schedule {
    float: left;
    width: 256px;
    height: 530px;
}

#right_schedule {
    float: right;
    width: 654px;
}

#left_event {
    float: left;
    width: 256px;
    height: auto;
}

#right_event {
    float: right;
    width: 654px;
    height: auto;
}

/**Tooltip*/
a.tooltip {
    outline: none;
}

    a.tooltip strong {
        line-height: 30px;
    }

    a.tooltip:hover {
        text-decoration: none;
    }

    a.tooltip span {
        z-index: 10;
        display: none;
        padding: 14px 20px;
        margin-top: -30px;
        margin-left: 0px;
        width: 350px;
        line-height: 16px;
    }

    a.tooltip:hover span {
        display: inline;
        position: absolute;
        color: #111;
        border: 1px solid #DCA;
        background: #fffAF0;
    }

.callout {
    z-index: 20;
    position: absolute;
    top: 30px;
    border: 0;
    left: -12px;
}

/*CSS3 extras*/
a.tooltip span {
    border-radius: 4px;
    -moz-border-radius: 4px;
    -webkit-border-radius: 4px;
    -moz-box-shadow: 5px 5px 8px #CCC;
    -webkit-box-shadow: 5px 5px 8px #CCC;
    box-shadow: 5px 5px 8px #CCC;
    text-align: left;
    word-break: normal;
}

.delevent {
    display: none;
    float: right;
    padding: 0 2px;
    border: 1px solid gray;
    box-shadow: 0px 0px 2px #cccccc;
    margin: 2px;
    border-radius: 3px;
    color: blue;
    width: 10px;
    height: 12px;
    font-size: 8px;
    background-image: url('../images/KPI/X.png');
    z-index: 200000000;
}

.fc-event-inner:hover .delevent {
    display: block;
}

.ui-progress span.ui-label {
    font-size: 10px !important;
    right: -5px !important;
}

#news b {
    margin-top: 10px;
    background-color: #ebeff1;
    width: 100%;
    height: 30px;
    padding-top: 10px;
}

.t-left {
    text-align: left !important;
}

.t-cener {
    text-align: center !important;
}

table.t-table > tbody > tr:nth-child(2n) > td {
    background-color: #FFFFE0;
    line-height: 30px;
}

table.t-table > tbody > tr:nth-child(2n+3) > td {
    background-color: #D7E3F2;
    line-height: 30px;
}

.t-header {
    background-color: #cccccc;
    border: 1px solid #cccccc;
    line-height: 30px;
    text-align: center !important;
}

.ui-dialog .ui-dialog-titlebar-close span {
    margin: -8px !important;
}

/*Border Lọc kết quả*/
.border_loc_kq {
    border: 1px solid #000;
    margin-bottom: 10px;
    padding: 10px;
}

